Fix tools compilation.
docs/*.pdf
docs/*.ps
docs/*.toc
-docs/figs/xenserver.eps
docs/html/*
-docs/interface/WARNINGS
-docs/interface/images.pl
-docs/interface/images.tex
-docs/interface/img1.png
-docs/interface/index.html
-docs/interface/interface.css
-docs/interface/interface.html
-docs/interface/labels.pl
docs/pdf/*
docs/ps/*
-docs/user/WARNINGS
-docs/user/images.pl
-docs/user/images.tex
-docs/user/img1.png
-docs/user/img2.png
-docs/user/img3.png
-docs/user/index.html
-docs/user/internals.pl
-docs/user/labels.pl
-docs/user/user.css
-docs/user/user.html
extras/mini-os/h/hypervisor-ifs
install/*
linux-*-xen0/*
tools/*/build/lib*/*.py
tools/balloon/balloon
tools/check/.*
+tools/ioemu/iodev/device-model
tools/libxc/xen/*
tools/misc/miniterm/miniterm
tools/misc/xen_cpuperf
# Order is important!
SUBDIRS=gui memory iodev
-all: $(SUBDIRS)
+.PHONY: all clean install
-$(SUBDIRS):
- $(MAKE) -C $@
-
-.PHONY: all $(SUBDIRS)
+all:
+ @for subdir in $(SUBDIRS); do \
+ $(MAKE) -C $$subdir $(MAKEDEFS) $@ || exit -1; \
+ done
clean:
@for subdir in $(SUBDIRS); do \
$(AR) $(ARFLAGS) $@ $(OBJS)
include $(TOPDIR)/mk/helix.mk
+
+install:: all
include $(TOPDIR)/mk/helix.mk
-install::
+install:: all
install device-model $(prefix)/usr/sbin
include $(TOPDIR)/mk/helix.mk
+install:: all
actual_vector = new Bit8u [bytes+test_mask];
// round address forward to nearest multiple of alignment. Alignment
// MUST BE a power of two for this to work.
- Bit64u masked = ((Bit64u)(actual_vector + test_mask)) & ~test_mask;
+ unsigned long masked = ((unsigned long)(actual_vector + test_mask)) & ~test_mask;
vector = (Bit8u *)masked;
// sanity check: no lost bits during pointer conversion
BX_ASSERT (sizeof(masked) >= sizeof(vector));
#define __XC_H__
#include <stdint.h>
-#include "linux_boot_params.h"
typedef uint8_t u8;
typedef uint16_t u16;
#include <xen/dom0_ops.h>
#include <xen/event_channel.h>
#include <xen/sched_ctl.h>
-#include <xen/io/domain_controller.h>
/* Obtain or relinquish a handle on the 'xc' library. */
int xc_interface_open(void);
unsigned int control_evtchn,
unsigned long flags);
+struct mem_map;
int xc_vmx_build(int xc_handle,
u32 domid,
const char *image_name,
#include <sys/time.h>
#include "xc_private.h"
#include <xen/linux/suspend.h>
+#include <xen/io/domain_controller.h>
#include <time.h>
#define BATCH_SIZE 1024 /* 1024 pages (4MB) at a time */